<template>
  <div class="contactus">
    <!-- :show-close="false" -->
    <el-dialog
      :visible.sync="dialog"
      class="dialog"
      width="35%"
      @close="handeclose"
    >
      <div class="contactus_box">
        <div>
          <div class="s_flex s_align_items s_flex_comlou">
            <div class="ewm">
              <img src="../../../public/ewm.png" alt="" />
            </div>
            <div class="right">
              <div class="logo_ico s_flex s_align_items">
                <img src="../../../public/logo2.jpg" />
                <p>佛山市顺德区顺企知识产权保护服务中心</p>
              </div>
              <div>
                <span>地址:</span>
                <span>广东省佛山市顺德区大良街道南方智谷知识产权大夏8楼</span>
              </div>
              <div>
                <span>电话:</span>
                <span>0757-22388580</span>
              </div>
              <div>
                <span>邮箱:</span>
                <span>E-Mail:sdipsc@163.com</span>
              </div>
              <div>
                <span>网址:</span>
                <span>www.shundeip.com</span>
              </div>
            </div>
          </div>
        </div>
      </div>
    </el-dialog>
  </div>
</template>

<script>
export default {
  props: ["dialogVisible"],
  computed: {
    dialog: {
      get: function () {
        return this.dialogVisible;
      },
      set: function () {
        this.dialogVisible = false;
      },
    },
  },
  methods: {
    handeclose() {
      this.$emit("closeVisible", this.dialogVisible);
    },
  },
};
</script>

<style lang="less" scoped>
// .contactus{
//     position:fixed;
//     width:100%;
//     height:100%;
// }
.ewm {
  width: 200px;
  height: 200px;
  border-right: 1px solid #dbdbdd;
  img {
    width: 100%;
  }
}
.logo_ico {
  img {
    width: 40px;
    height: 40px;
  }
}
.right {
  margin-left: 10px;
  div {
    margin-bottom: 8px;
  }
}

@media (max-width: 750px) {
  .right {
    margin-left: 0;
    div {
      margin-bottom: 8px;
      margin-top: 8px;
    }
  }
}
</style>